package com.baidu.mobstat;

import android.content.Context;

class f extends Thread
{
  private static f a = new f();
  private Context b;
  private boolean c = false;
  private boolean d = false;

  public static f a()
  {
    return a;
  }

  private void d()
  {
    this.c = true;
  }

  private void e()
  {
    monitorenter;
    try
    {
      this.d = true;
      monitorexit;
      return;
    }
    finally
    {
      localObject = finally;
      monitorexit;
      throw localObject;
    }
  }

  public void a(Context paramContext)
  {
    if ((paramContext == null) || (b()))
      return;
    this.b = paramContext;
    d();
    start();
  }

  public boolean b()
  {
    return this.c;
  }

  public boolean c()
  {
    monitorenter;
    try
    {
      boolean bool = this.d;
      monitorexit;
      return bool;
    }
    finally
    {
      localObject = finally;
      monitorexit;
      throw localObject;
    }
  }

  public void run()
  {
    g.a().b(this.b);
    b.a().d(this.b);
    b.a().c(this.b);
    e();
    f localf = a;
    monitorenter;
    try
    {
      super.notifyAll();
      monitorexit;
      b.a().a(this.b);
      b.a().b();
      return;
    }
    catch (IllegalMonitorStateException localIllegalMonitorStateException)
    {
    }
    finally
    {
      monitorexit;
    }
  }
}

/* Location:           C:\Users\god\Desktop\liunianjishiben_V1.1_mumayi_3745b_dex2jar.jar
 * Qualified Name:     com.baidu.mobstat.f
 * JD-Core Version:    0.5.4
 */